package com.alexgaoyh.MutiModule.Dubbo.RWSeperate.api.mutiDatabase.read;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.alexgaoyh.MutiModule.Dubbo.RWSeperate.persist.mutiDatabase.MutiDatabase;
import com.alexgaoyh.MutiModule.Dubbo.RWSeperate.persist.mutiDatabase.MutiDatabaseExample;

/**
 * MutiDatabase 模块 读接口
 * @author alexgaoyh
 *
 */
public interface IMutiDatabaseReadService {

	int countByExample(MutiDatabaseExample example);

    int deleteByExample(MutiDatabaseExample example);

    int deleteByPrimaryKey(Long id);

    List<MutiDatabase> selectByExample(MutiDatabaseExample example);

    MutiDatabase selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") MutiDatabase record, @Param("example") MutiDatabaseExample example);

    int updateByExample(@Param("record") MutiDatabase record, @Param("example") MutiDatabaseExample example);

    int updateByPrimaryKeySelective(MutiDatabase record);

    int updateByPrimaryKey(MutiDatabase record);
    
}
